package org.hang.gift.mapper;

import org.apache.ibatis.annotations.Param;
import org.hang.gift.domain.GoodsSku;
import com.baomidou.mybatisplus.mapper.BaseMapper;

/**
 * <p>
 * sku表 Mapper 接口
 * </p>
 *
 * @author hang
 * @since 2024-04-05
 */
public interface GoodsSkuMapper extends BaseMapper<GoodsSku> {

    void lockStock(@Param("skuId") Long skuId,@Param("num") Integer num);
}
